{include file=$header_start}
{include file=$header_end}

 <div class="contain">
 
      {include file=$left_menu}
      
      <div class="right_contain">
        
         <div class="heading_box">Rating Detail Information</div>
         <div class="whitebox">
         <!--Message Div Start-->
         {if $msg}
         <div class="masg_div">
           {$msg}
         </div>
         {/if}
         <!--Message Div End-->
         
         <div style="min-height:250px;">
          <!--Form Contain start-->
           
           <div class="form_fieldbox">
           			<dl>
                    	<dt>Homeowner Name:</dt>
                        <dd >{$review_details.from_first_name|ucfirst}&nbsp;{$review_details.from_last_name|ucfirst}</dd>	
                        <div class="clear"></div>
                    </dl>
                    
                    <dl>
                    	<dt>Tradesman Name:</dt>
                        <dd >{$review_details.to_first_name|ucfirst}&nbsp;{$review_details.to_last_name|ucfirst}</dd>	
                        <div class="clear"></div>
                    </dl>
                   	
                    <dl>
                    	<dt>Job Description:</dt>
                        <dd style="text-align:justify;" >{$review_details.job_desc|ucfirst}</dd>	
                        <div class="clear"></div>
                    </dl>                           
                    <dl>
                    	<dt>Rating:</dt>
                        <dd >
                        {section name=i loop=$total_rating start=0 max =$total_rating}
                            <span class=""><img src="{$siteroot}/templates/default/images/y_star.png" alt=""  class=""/></span>
                        {/section}
                        
                        {section name=j loop=$remaining_rating start =0 max=$remaining_rating}
                            <span class="star_1"><img src="{$siteroot}/templates/default/images/g_star.png" alt=""  class=""/></span>
                        {/section}
                        
                        </dd>	
                        <div class="clear"></div>
                    </dl>                                               
                    <dl>
                    	<dt>Feedback:</dt>
                        <dd >{$review_details.message}</dd>	
                        <div class="clear"></div>
                    </dl>                     
      				 <dl>
                    	<dt>Date:</dt>
                        <dd >{$review_details.added_date}</dd>	
                        <div class="clear"></div>
                    </dl> 
            </div>
            
            <!--Form Contain end--> 
          
           <!--Button here start-->
           <div>
          
            <span><input type="button" class="admin_btn" value="Back" onclick="window.location='{$siteroot}/admin/home.php?q=jobreview&page={$smarty.get.page}';"/></span>
          
           </div>
            <!--Button here end-->
  
         </div>
         
         </div>
        </div>
      
      
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
    
{include file=$footer}